package com.xxyf.mapper;

import com.xxyf.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author xxyf
 * @since 2022-12-14
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu>{
    List<String> permissionsByUserId(Long id);
    Integer role(@Param("id") Long id);

}
